<?php

namespace App\Models\Auxiliary;

use App\Models\MedicalRecord;
use Illuminate\Database\Eloquent\Model;

class AuxiliaryCheckEntry extends Model
{
    protected $fillable = [
        'images', 'record_id', 'remark', 'check_type'
    ];

    protected $table = 'st_auxiliary_ultrasound_check';

    protected $casts = [
        'images' => 'array'
    ];

    public function medicalRecord()
    {
        return $this->belongsTo(MedicalRecord::class, 'record_id');
    }
}
